module.exports = {
    chainWebpack: config => {
        config.when(process.env.NODE_ENV === 'development',
            config => config.devtool('source-map')
        )
    }
}
